package com.oriental.manage.dao.institution;

import com.oriental.manage.pojo.institution.ChannelRelationship;
import com.oriental.manage.pojo.institution.ChannelRelationship;

import java.util.List;

/**
 * Created by dongyy on 2017/5/10.
 * 商户支付机构关系配置
 */
public interface ChannelRelationshipMapper {

    /**
     * 查询强绑关系
     * @param channelRelationship
     * @return
     */
    List<ChannelRelationship> selectAll(ChannelRelationship channelRelationship);

    int updateByPrimaryKeySelective(ChannelRelationship channelRelationship);

    int insertSelective(ChannelRelationship channelRelationship);

    int deleteByPrimaryKey(ChannelRelationship channelRelationship);
    //验证是否已经配置
    int checkConfig(ChannelRelationship channelRelationship);

}
